.PHONY: all clean

CXXFLAGS = -Wall -I ../aip-cpp-sdk $(shell pkg-config --cflags jsoncpp libcurl libcrypto)
LDLIBS = $(shell pkg-config --libs jsoncpp libcurl libcrypto)

all: test

test: test.o
	$(CXX) $^ -o $@ $(LDLIBS)

clean:
	$(RM) test *.o
